Skip to content

build(deps): bump org.springdoc:springdoc-openapi-starter-webmvc-api from 3.2.0 to 3.2.1 - #51

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/maven/org.springdoc-springdoc-openapi-starter-webmvc-api-3.2.1
Closed

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/maven/org.springdoc-springdoc-openapi-starter-webmvc-api-3.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown

Bumps org.springdoc:springdoc-openapi-starter-webmvc-api from 3.2.0 to 3.2.1.

Release notes

Sourced from org.springdoc:springdoc-openapi-starter-webmvc-api's releases.

springdoc-openapi v3.2.1 released!

Spring Boot 4.2.x line (built on Spring Boot 4.2.0).

⚠️ Changes you may notice

  • swagger-core 3.0 and Jackson 3: springdoc-openapi now runs on swagger-core 3.0.0, so the Jackson mappers of springdoc-openapi and swagger-core are Jackson 3 (tools.jackson) mappers.
    • The swagger artifacts are renamed: swagger-annotations-jakarta, swagger-models-jakarta and swagger-core-jakarta become swagger-annotations, swagger-models and swagger-core. Update the dependencies you declare explicitly.
    • Jackson 3 mappers are immutable: customize the swagger-core mappers with ObjectMapperFactory.addCustomizer instead of changing Json.mapper() or Json31.mapper().
    • Getters starting with an acronym keep its case, as Jackson 3 serializes them: getETag() is documented as ETag instead of etag.
    • The parameter of a single public constructor whose name matches no property is documented as a writeOnly property.
  • Spring Boot 4.2 and proxies: Spring Boot 4.2 ignores X-Forwarded-Prefix by default. Behind a proxy that sets it, enable server.request.header.forwarded.use-prefix=true so that the Swagger UI and Scalar URLs keep the prefix. server.forward-headers-strategy is deprecated in favor of server.request.header.forwarded.strategy. If your proxy sends the host in the standard Forwarded header and the prefix in X-Forwarded-Prefix, see the changelog.
  • Spring Data REST (#3429): an association to an entity without an exported repository uses the <Name>Response schema consistently, also when it is nullable, and an entity whose @Schema(name) differs from its class name gets its associations filtered as well.

New

  • required properties of kotlinx.serialization @Serializable classes are derived when jackson-module-kotlin is absent (#3433). Disable with springdoc.model-converters.kotlinx-serialization-required-property-customizer.enabled=false.
  • An application can override the swagger-ui webjar version: springdoc-openapi serves the version found on the classpath, without springdoc.swagger-ui.version.

Fixed

  • Schemas containing a Jackson 3 node are no longer dropped, and ArrayNode / StringNode are documented as an array and a string (#3431).
  • @Schema(example) on Duration, LocalTime and OffsetTime is kept as declared (#3442).
  • A subtype keeps its allOf reference to its polymorphic parent when a controller repeats an annotation of its interface, such as @Valid (#3393).
  • OpenAPI 3.1 schemas are cloned correctly when swagger-core resolved a schema before springdoc-openapi configured its mapper (#3395).
  • WebFlux applications document their parameters with their own conversion service on Spring Boot 4 (#3397).
  • A property-level @Schema(oneOf) narrows only its own subtypes (#3398).
  • A nullable Kotlin property renamed with @JsonProperty or @JsonNaming is marked nullable (#3399).
  • The deprecated annotations registry is thread safe (#3402).
  • Validation constraints are documented without Hibernate Validator on the classpath (#3405).
  • MCP tools: repeated references and OpenAPI 3.1 type arrays are kept in the input schema (#3425, #3427), and the tools are registered with grouped API docs, a disabled cache, or without the default API docs (#3434, #3441).
  • With OpenAPI 3.1, a required @JsonUnwrapped member no longer adds an empty property.

Security

Dependencies

Spring Boot 4.2.0 · swagger-core 3.0.0 · swagger-ui 5.35.1 · Scalar 0.8.0 · Spring AI 2.0.2 · Spring Cloud Function 5.0.5

Thanks to all the contributors of this release: @​kuglo, @​jochenberger, @​Shubchynskyi, @​sharanggupta, @​aswinalfarizi, @​mariodavid, @​vietdungnguyen2005, @​gwr0-0.

Changelog

Sourced from org.springdoc:springdoc-openapi-starter-webmvc-api's changelog.

[3.2.1] - 2026-11-20

Security

Added

  • #3433 – Derive the required properties of kotlinx.serialization @Serializable classes when jackson-module-kotlin is absent: a primary constructor property is required unless it has a default value or is @Transient, or when it is annotated with @Required. Disable it with springdoc.model-converters.kotlinx-serialization-required-property-customizer.enabled=false

Changed

  • Upgrade swagger-core to version 3.0.0, which moves to Jackson 3 (tools.jackson) and Jakarta EE 11. The Jackson mappers of springdoc-openapi and swagger-core are now Jackson 3 mappers
  • The swagger artifacts are renamed: swagger-annotations-jakarta, swagger-models-jakarta and swagger-core-jakarta become swagger-annotations, swagger-models and swagger-core. Update the dependencies you declare explicitly
  • Jackson 3 mappers are immutable: customize the swagger-core mappers with ObjectMapperFactory.addCustomizer instead of changing Json.mapper() or Json31.mapper()
  • With Jackson 3, the parameter of a single public constructor whose name matches no property is documented as a writeOnly property
  • With Jackson 3, the properties of getters starting with an acronym keep its case, as Jackson 3 serializes them: getETag() is documented as ETag instead of etag, and getURI() as URI instead of uri
  • The user's OpenAPI bean, and the schemas and responses springdoc-openapi adapts, are copied with ModelCopy.deepCopy instead of a JSON round trip
  • Upgrade swagger-ui to version 5.35.1
  • Upgrade spring-boot to version 4.2.0. Spring Boot 4.2 ignores the X-Forwarded-Prefix header by default: behind a proxy that sets it, enable it with server.request.header.forwarded.use-prefix=true so that the Swagger UI and Scalar URLs keep the prefix. server.forward-headers-strategy is deprecated in favor of server.request.header.forwarded.strategy. Behind a proxy that sends the host in the standard Forwarded header and the prefix in X-Forwarded-Prefix, the Spring Boot properties cannot read both, as use-prefix requires the x-forwarded naming: serve the application under the prefix (server.servlet.context-path or spring.webflux.base-path) and forward the path unchanged, or register a ForwardedHeaderFilter or ForwardedHeaderTransformer that reads the standard header with setUseForwardedPrefix(true)
  • Upgrade Scalar to version 0.8.0
  • Upgrade Spring AI to version 2.0.2

Fixed

  • With OpenAPI 3.1, a required @JsonUnwrapped member no longer adds an empty property to the schema
  • #3393 – A subtype keeps the allOf reference to its polymorphic parent when a controller repeats an annotation of its interface, such as @Valid, on a @RequestBody
  • #3395 – OpenAPI 3.1 schemas are cloned correctly, and without changing the original schema, also when swagger-core resolved a schema before springdoc-openapi configured its mapper
  • #3397 – With Spring Boot 4, WebFlux applications document their parameters with their own conversion service, instead of a default one that knows none of their converters
  • #3398 – A property declaring @Schema(oneOf) or @Schema(allOf) narrows only its own subtypes, instead of making every other property of the same type lose its subtypes
  • #3399 – A nullable Kotlin property renamed with @JsonProperty or @JsonNaming is marked nullable
  • #3402 – The registry of deprecated annotations is thread safe
  • #3405 – Document the validation constraints of parameters without Hibernate Validator on the classpath, instead of failing with NoClassDefFoundError
  • #3425 – In the MCP tool input schema, expand every property that references the same component, instead of treating the repeated references as circular and dropping their properties
  • #3427 – In the MCP tool input schema, keep every type of an OpenAPI 3.1 type array, such as ["string", "null"], instead of only the first one
  • #3429 – In Spring Data REST response schemas, an association to an entity without an exported repository uses the <Name>Response schema also when it is nullable (wrapped in allOf or oneOf), and an entity whose @Schema(name) differs from its class name gets its associations filtered as well. This <Name>Response naming applies since 3.1.1
  • #3434 – The MCP tools are registered when springdoc.group-configs or springdoc.cache.disabled is set, instead of waiting for springdoc.ai.mcp.init-timeout-seconds and registering none
  • #3441 – With springdoc.enable-default-api-docs=false, the MCP tools are registered from the operations of every API group, an operation of several groups becoming a single tool, instead of waiting for springdoc.ai.mcp.init-timeout-seconds and registering none
  • #3431 – With Jackson 3, an ArrayNode field is documented as an array and a StringNode field as a string, like an ObjectNode field is documented as an object, instead of a reference to an empty schema
  • Serve the swagger-ui webjar found on the classpath when the application overrides its version, instead of returning 404 unless springdoc.swagger-ui.version is also set
Commits
  • 077bdbd [maven-release-plugin] prepare release v3.2.1
  • 600fb00 Record how to use Spring Boot 4.2 behind a proxy that sends Forwarded and X-F...
  • d79ec1a Merge pull request #3445 from springdoc/dependabot/npm_and_yarn/springdoc-ope...
  • 358023a Merge pull request #3444 from springdoc/dependabot/npm_and_yarn/springdoc-ope...
  • d4fdbe1 Update the expected Scalar pages for Scalar 0.8.0
  • d12e88d Merge pull request #3447 from springdoc/dependabot/maven/maven-40cbe463c9
  • 7506c22 Bump the maven group with 3 updates
  • cb434aa Bump postcss
  • 3c1d781 Bump vite
  • 2f2269a Record the Spring AI 2.0.2 upgrade in the changelog
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.springdoc:springdoc-openapi-starter-webmvc-api](https://github.com/springdoc/springdoc-openapi) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/springdoc/springdoc-openapi/releases)
- [Changelog](https://github.com/springdoc/springdoc-openapi/blob/main/CHANGELOG.md)
- [Commits](springdoc/springdoc-openapi@v3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: org.springdoc:springdoc-openapi-starter-webmvc-api
  dependency-version: 3.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from qianmoQ as a code owner November 25, 2026 08:57
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Nov 25, 2026
@qianmoQ qianmoQ closed this Nov 26, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 26, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/maven/org.springdoc-springdoc-openapi-starter-webmvc-api-3.2.1 branch November 26, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant